XXXXmmmmRRRReeeennnnddddeeeerrrrTTTTaaaabbbblllleeee - Data type for a render table
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Xm.h>
XmRenderTable
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmRRRReeeennnnddddeeeerrrrTTTTaaaabbbblllleeee is the data type for a render table, which
contains a table of renditions (XXXXmmmmRRRReeeennnnddddiiiittttiiiioooonnnns). Each
rendition consists of a set of attributes for rendering
text, including a font or fontset, colors, tabs, and lines.
Each rendition is identified with a tag.
When a compound string is displayed, for each segment in the
string, the rendition used to render that string is formed
as follows. If the segment has at least one rendition begin
tag or if the list of tags formed by accumulating from
previous segments the rendition begin tags and removing the
rendition end tags is not empty, these tags are matched with
renditions in the render table. The effective rendition used
to render the segment is formed by successively merging each
rendition found into the current rendition with non-
XXXXmmmmAAAASSSS____IIIISSSS(XXXXmmmmUUUUNNNNSSSSPPPPEEEECCCCIIIIFFFFIIIIEEEEDDDD____PPPPIIIIXXXXEEEELLLL for color resources) values for
resources in the rendition to be merged, thus replacing the
corresponding values of the resources in the current
rendition. Finally, if the resulting rendition still has
resources with unspecified values and the segment has a
locale or charset tag (these are optional and mutually
exclusive) this tag is matched with a rendition in the
render table, and the missing rendition values are filled in
from that entry.
If no matching rendition is found for a particular tag, then
the XXXXmmmmNNNNnnnnooooRRRReeeennnnddddiiiittttiiiioooonnnnCCCCaaaallllllllbbbbaaaacccckkkk of the XXXXmmmmDDDDiiiissssppppllllaaaayyyy object is called
and the render table is searched again for that tag.
If the resulting rendition does not specify a font or
fontset, then for segments whose text type is
XXXXmmmmCCCCHHHHAAAARRRRSSSSEEEETTTT____TTTTEEEEXXXXTTTT, the render table will be searched for a
rendition tagged with XXXXmmmmFFFFOOOONNNNTTTTLLLLIIIISSSSTTTT____DDDDEEEEFFFFAAAAUUUULLLLTTTT____TTTTAAAAGGGG, and if a
matching rendition is found, it will be merged into the
current rendition. If the resulting rendition contains no
font or fontset, the XXXXmmmmNNNNnnnnooooFFFFoooonnnnttttCCCCaaaallllllllbbbbaaaacccckkkk will be called with
the default rendition and "" as the font name. If no
rendition matches or no font was found after the callback,
then the first rendition in the render table will be merged
into the current rendition. If this rendition still has no
font, then the segment will not be rendered and a warning
XXXXmmmmRRRReeeennnnddddeeeerrrrTTTTaaaabbbblllleeeeRRRReeeemmmmoooovvvveeeeRRRReeeennnnddddiiiittttiiiioooonnnnssss(3), XXXXmmmmRRRReeeennnnddddiiiittttiiiioooonnnn(3), and